home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 1.iso / toolbox / src / tutorials / custEducation / opengl1 / examples / README < prev   
Encoding:
Text File  |  1996-11-11  |  3.4 KB  |  102 lines

  1.  
  2.         to compile programs in the above-indicated sub- directories/trees,
  3.        one must load libglut. inst-able images of GLUT v3.1 are located at 
  4.                 toolbox/src/exampleCode/opengl/GLUT/inst/ 
  5.  
  6.                   -------------------------------------
  7.  
  8. OpenGL Programming 1 Course -- Sample Programs
  9.  
  10. This software will only compile/run on a >= 5.3 Irix system with gl_dev
  11. and x_dev products loaded.
  12.  
  13. This subtree contains the software included in the OpenGL Programming 1
  14. class course materials available through SGI's customer education
  15. program.  It includes a version of the aux library (some additions over
  16. the version available with the OpenGL Programming Guide), a checkVisual
  17. utility program, and src and binaries demonstrating the following:
  18.  
  19. windows
  20.     Programs that demonstrate how to create windows and set the
  21.     background color.
  22.  
  23. rendering
  24.     Programs that demonstrate the basic drawing primitives, and
  25.     flat and gouraud shading them.
  26.  
  27. transformations
  28.     Programs that demonstrate how to rotate, scale and translate
  29.     objects, and set the projection matrix.
  30.  
  31. modeling
  32.     Programs that demonstrate how to use use the basic
  33.     transformations to model a scene.  Also, demonstrates how the
  34.     ordering of effects the net result, and how transformations can
  35.     be kept independent using glPushMatrix/glPopMatrix.
  36.  
  37. viewports
  38.     Programs that demonstrate how to set the viewport and the
  39.     effect of the aspect ratio.
  40.  
  41. depth_buffer
  42.     Programs that demonstrate how to use the depth buffer.
  43.  
  44. viewing
  45.     Programs that demonstrate how to use gluLookAt() or use the
  46.     basic transformations to create a polarview viewing
  47.     perspective.
  48.  
  49. lighting
  50.     Programs that demonstrate how to enable basic lighting and set
  51.     the normals. Also, programs that demonstrate how to set
  52.     lighting intensities and materials properites.
  53.  
  54. animation
  55.     Programs that demonstrate how to animate a scene without
  56.     flicker.
  57.  
  58. adv_lighting
  59.     Programs that demonstrate how to enable 2-sided lighting, and
  60.     enable spotlights.  Also, programs that show how to position
  61.     the lights so that they are fixed in the scene, move with the
  62.     scene, or move independently of the objects in the scene.
  63.  
  64. text
  65.     Programs that demonstrate how to render a text string and make
  66.     sure that it doesn't get clipped prematurely when the raster
  67.     position goes outside the window.
  68.  
  69. dlists
  70.     Programs that demonstrate how to put OpenGL commands in display 
  71.     lists to increase performance.
  72.  
  73. alpha blending
  74.     Programs that demonstrate how to render transparent objects.
  75.     Also, programs that demonstrate how to render objects without the
  76.     "jaggies".
  77.  
  78. Two appendices are provided to help transition from IRIS GL to OpenGL.
  79.  
  80. irisgl_vs_opengl
  81.     Programs that demonstrate some of the differences between
  82.     IRIS GL and OpenGL.
  83.  
  84. porting
  85.     An appendix the walks through some examples of porting IRIS GL 
  86.     programs to OpenGL.  Includes information about writing mixed
  87.     model programs, with and without using a widget set.
  88.  
  89. The programs in the directories above can be invoked individually, or
  90. through the buttonfly command.  In each directory, there are two 
  91. menu files named 'menu_directoryname' and 'm_directoryname'.  They
  92. are installed in the directory as '.menu' and '.m_directoryname', respectively.
  93. .menu specifies a button for the directory and .m_directoryname contains
  94. the information about how to run each program.
  95.  
  96. To use the buttonfly program, run the RUN_DEMOS script
  97. in the opengl1 home directory.
  98.  
  99. % ~opengl1/RUN_DEMOS    
  100.  
  101.  
  102.